* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

nav {
  height: 100%;
}

.header {

  height: 10vh;
  text-align: justify;
  display: flex;
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  /* 半透明背景 */
  box-shadow: none;
  color: black;
  border-bottom: 2px solid rgb(119, 138, 234);
}

.logo {
  margin-left: 0px;
  margin-top: 25px;
  font-size: x-large;
  font-weight: 800;
  font-family: 'Arial', sans-serif;
}

.menu {
  display: flex;
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
  height: 200px;
  /* 根据需要调整高度 */


  height: 50px;
  width: 800px;
  margin-left: 700px;
  margin-top: 25px;
  font-size: 1.5em;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;

}

.spanmenu {
  margin-right: 20px;
  width: 12%;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0);
  transition: transform 0.3s ease-in-out, font-weight 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.spanmenu1 {
  margin-right: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0);
  transition: transform 0.3s ease-in-out, font-weight 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.userlogin {
  background-color: rgba(255, 255, 255, 0);
  margin-top: 30px;
  margin-left: 20px;
  height: 40px;
  cursor: pointer;
  font-size: medium;
  font-weight: bolder;
  transition: transform 0.3s ease-in-out, font-weight 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.userlogin:hover {
  font-weight: bolder;

  transform: translateY(-5px);
  color: skyblue;
}


.spanmenu:hover {
  font-weight: bolder;

  transform: translateY(-5px);
  color: rgb(222, 96, 229);
}

.spanmenu1:hover {
  font-weight: bolder;

  transform: translateY(-5px);
  color: rgb(222, 96, 229);
}

.logoimg img {
  height: 50px;
  width: auto;
  margin-left: 30px;
  position: relative;
  top: 17px;
}